using Arcane.Source.Combat;
using Arcane.Source.Story;
using Arcane.Source.Utils;
using Godot;

namespace Arcane.Source.MainMenu
{
    public class MainMenuContext : ViewContext<MainMenuView>
    {
        public override string ViewName => "main_menu";

        public override void OnLoad(Msg msg)
        {
            base.OnLoad(msg);
            View.RequestStart += Begin;
        }

        private void Begin()
        {
            Os.PushContext(new GameContext(), Msg.Empty());
        }
    }
}